<?php session_start();
include("zeiterfassung.class.php");
include("../../docs/login_check.php");


$von = $_POST['day'] . "." .  $_POST['month'] . "." . $_POST['year'] . " " .
	$_POST['from_hours'] . ":" . $_POST['from_minutes'];

$bis = $_POST['day'] . "." .  $_POST['month'] . "." . $_POST['year'] . " " .
	$_POST['to_hours'] . ":" . $_POST['to_minutes'];
	
	//echo $von;
	//echo $bis;
$zeiterfassung = new zeiterfassung();
$zeiterfassung->write($von, $bis);
	
	
?>